// YApi QuickType插件生成，具体参考文档:https://plugins.jetbrains.com/plugin/18847-yapi-quicktype/documentation

package com.xnfh.common.bean

import java.io.Serializable

data class FieldListBean(
    val total: Long,
    val current: Long,
    val pages: Long,
    val size: Long,
    val optimizeCountSQL: Boolean,
    val records: List<Record>,
    val searchCount: Boolean,
    val orders: List<Order>
) : Serializable

data class Order(
    val asc: Boolean,
    val column: String
)

data class Record(
    val farmName: String,
    val fieldName: String,
    val borderCoordinate: String,
    val cityId: Long,
    val plantCropId: Long,
    val cityName: String,
    val createdby: String,
    val countyId: Long,
    val fileURL: String,
    val realPath: String,
    val startTime: String,
    val fieldId: String,
    val countyName: String,
    val organizeid: String,
    val address: String,
    val isKeynote: String,
    val center02: String,
    val filePath: String,
    val angularGps84: String,
    val userName: String,
    val centerCoordinate: String,
    val provinceId: Long,
    val plantCropName: String,
    val border02: String,
    val areaMu: String,
    val fieldFarm: String,
    val userPId: Double,
    val provinceName: String,
    var isSelect: Boolean
) : Serializable


data class FieldDetailBean(
    val fieldName: String,
    val borderCoordinate: String,
    val year: List<Int?>,
    val cityId: Long,
    val plantCropId: String,
    val countyId: Long,
    val wholecourseList: List<Any?>,
    val fileURL: String,
    val startTime: String,
    val remoteSensingList: List<UavImgBean>,
    val fieldId: Long,
    val address: String,
    val center02: String,
    val angularGps84: String,
    val centerCoordinate: String,
    val provinceId: Long,
    val plantCropName: String,
    val border02: String,
    val areaMu: String,
    val uavgrowthList: List<UavImgBean>,
    val uavimageList: List<UavImgBean>,
    val userPid: Double
):Serializable

data class FieldWeatherBean(
    val counname: String,
    val date: Long,
    val timezone: String,
    val realfeel: String,
    val maxTemp: String,
    val pop: String,
    val maskFromV2: Long,
    val iconnight: String,
    val backImg: String,
    val hour: String,
    val humidity: String,
    val id: Long,
    val temp: String,
    val windlevel: Long,
    val pname: String,
    val qpf: String,
    val uvi: String,
    val winddir: String,
    val cityid: String,
    val pressure: String,
    val iconday: String,
    val minTemp: String,
    val condition: String,
    val snow: String,
    val name: String,
    val windspeed: Double,
    val updatetime: Long,
    val stationid: String
)

data class FieldJfJy(
    val temp: String,
    val qpf: String
)

data class TendencyYearBean(
    val year: Int?,
    var isSelect: Boolean
)

data class UavImgBean(
    val createdat: Long,
    val dautoId: Int,
    val fieldId: String,
    val framType: Int,
    val dateVal: Long,
    val date: String,
    val pathUrl: String,
    val udfName: String,
    val udfCenter: String,
    val imageLng: String,//左下
    val imageLat: String,//右上
    val section: String,
    var selected: Boolean
)

data class FindFieldRecordS (
    val total: Long,
    val current: Long,
    val pages: Long,
    val size: Long,
    val optimizeCountSQL: Boolean,
    val records: List<FindFieldRecordSRecord>,
    val searchCount: Boolean,
    val orders: List<Order>
)

data class FindFieldRecordSRecord (
    val cropId: Long,
    val fieldName: String,
    val cropName: String,
    val remark: String,
    val farmingTime: String,
    val realPath: List<String>,
    val id: Long,
    val fieldID: Long
)
data class PlantOptionBean (
    val movents: List<Movent>,
    val level: Long,
    val schemeId: String,
    val growthName: String,
    val growthId: Long,
    val parentId: String,
    val children: List<Child>,
    val startTime: String,
    val id: Long,
    val endTime: String
)

data class Child (
    val moventId: String,
    val level: Long,
    val schemeId: String,
    val moventName: String,
    val parentId: String,
    val json: String,
    val id: Long
)

data class Movent (
    val standard: String,
    val name: String,
    val ai: String,
    val id: String,
    val describe: String,
    val type: String
)
data class PlantOptionBeanConvert(
    val startTime: String,
    val endTime: String,
    val standard: String,
    val name: String,
    val ai: String,
    val id: String,
    val describe: String,
    val growthName: String,
    val type: String
)
data class StandardBean(
    val standard: String
)
data class EquipmentToken(
    val apiToken: String,
    val TokenV2: String
)
data class EquipmentTokenV1(
    val authorizationEncodeToken: String,
    val username: String
)
data class GateWayBean(
    val gatewayid: Int
)
data class WarningBean(
    val PageIndex: Int,
    val PageCount: Int,
    val RowCount: Int,
    val PageSize: Int,
    val Data: List<WarningItem>
)
data class WarningItem(
    val Logtxt: String,
    val Gatewayname: String,
    val Logtime: String
)

data class KcBean(
    val records: List<KcItemBean>,
    val total: Int
)
data class KcItemBean(
    val gatewayname: String,
    val gatewayid: String
)

data class GateWayTotalInfoBean(
    val GatDeviceSensorList: List<GatDeviceSensorListBean>,
    val GatGatewayBasicInfo: GatGatewayBasicInfoBean,
    val GatDeviceValvesList: List<GatDeviceValvesListBean>
)

data class GatDeviceSensorListBean(
    val Devicetype: Int,
    val Devicename: String,
    val Sensorrealtimedata: Double
)
data class GatGatewayBasicInfoBean(
    val Gatewayname: String,
    val Waterstatus: Int
)

data class GatDeviceValvesListBean(
    val Devicename: String,
    var Switchstatus: Int,
    val DeviceSubType: Int,
    val Deviceid:Int,
    val DeviceIndex: Int,
    val ConfigData: String
)
data class GuanGaiBean(
    val PageIndex: Int,
    val PageCount: Int,
    val RowCount: Int,
    val PageSize: Int,
    val Data: List<GuanGaiItem>
)
data class GuanGaiItem(
    val Devicename: String,
    val Totaltime: Int,
    val Begintime: String,
    val Endtime: String
)
data class EquipmentGl(
    val total: Int,
    val records: List<EquipmentGlBean>
)
data class EquipmentGlBean(
    val gatewayName: String,
    val gatewayId: String,
    val gatewayModel: String
)
data class WeatherMessage(
    val soilTempMoisture3: List<WeatherMessageBean>,
    val rainfall: List<WeatherMessageBean>,
    val windSpeedDir: List<WeatherMessageBean>,
    val airTempHumidity: List<WeatherMessageBean>,
    val light: List<WeatherMessageBean>,
    val airPressure: List<WeatherMessageBean>,
    val soilTempMoisture1: List<WeatherMessageBean>,
    val soilTempMoisture2: List<WeatherMessageBean>,
    val SWP: List<WeatherMessageBean>
)
data class WeatherMessageBean(
    val DeviceModel: String,
    val deviceName: String,
    val unit: String,
    val sensorValue: Double
)
data class NzGlBean(
    val total: Int,
    val records:List<NzGlBeanItem>
)
data class NzGlBeanItem(
    val productionName: String,
    val farmTime: String,
    val num: Int,
    val unitName: String,
    val packingSize: String,
    val agriMoney: String,
    val cropName: String,
    val agriStaff: String
)
data class SfjOpenConfig(
    val deviceIndex: Int,
    val deviceSwitch: Int,
    val singleRunTime: Int,
    val residueDegree: Int,
    val Interval: Int,
    val stirStartTime: String
)